package com.mundus.engine.resources;

import java.io.File;
import java.io.IOException;

import com.mundus.engine.assets.Log;

public class Resource {
	private static String _path;
	private static String _assetPath;
	private static String _resPath;
	
	public static String getPath(){ return _path;}
	public static String getAssetPath(){ return _assetPath;}
	public static String getResourcePath(){ return _resPath;}
	
	public static void initResource(){
		try{
			_path = new File(".").getCanonicalPath();
			_assetPath = _path + "\\assets";
			_resPath = _path +  "\\res";
		}
		catch(IOException e){
			Log.error(e);
		}
	}
}
